import React from 'react'
import {BrowserRouter} from 'react-router-dom'
import RouterView from './router-views'
import routeConfig from './router-config'


function Router(){
    return <BrowserRouter>
        <RouterView routes={routeConfig}></RouterView>
    </BrowserRouter>
}

export default Router